<div class="sidebar" id="sidebar">


<ul class="nav nav-list">
	<li <?php if(curCA('controller') == 'default' && curCA('action') == 'index') echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin');?>">
			<i class="icon-dashboard"></i>
			<span class="menu-text"> Trang chủ </span>
		</a>
	</li>
	
	<li <?php if(curCA('controller') == 'system' && curCA('action') == 'index') echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/system');?>">
			<i class="icon-desktop"></i>
			<span class="menu-text"> Cài đặt </span>
		</a>
	</li>
	
	<li <?php if(curCA('controller') == 'informations' && curCA('action') == 'index') echo 'class="active"'?>>
		<a href="" class="dropdown-toggle">
			<i class="icon-list-alt"></i>
			<span class="menu-text"> Thông tin </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/informations');?>">
					<i class="icon-double-angle-right"></i>
					Giới Thiệu
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/informations',array('id'=>2));?>">
					<i class="icon-double-angle-right"></i>
					Giải pháp
				</a>
			</li>
		</ul>
	</li>
	
	<li <?php if(curCA('controller') == 'registerTheme' && curCA('action') == 'registerTheme') echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/registerTheme');?>">
			<i class="icon-desktop"></i>
			<span class="menu-text"> DS đăng ký theme </span>
		</a>
	</li>
	
	<li <?php if(curCA('controller') == 'categoriesNews' ||  curCA('controller') == 'news') echo 'class="active"'?>>
		<a href="#" class="dropdown-toggle">
			<i class="icon-text-width"></i>
			<span class="menu-text"> Tin tức </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/categoriesNews/');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>
					Danh mục tin tức
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/categoriesNews/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm danh mục tin tức
				</a>
				
			</li>

			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/news/');?>">
					<i class="icon-double-angle-right"></i>
					Danh sách tin tức
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/news/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm tin tức
				</a>
				
			</li>
		</ul>
	</li>
	
	
	
	<li <?php if(curCA('controller') == 'services' ||  curCA('controller') == 'services') echo 'class="active"'?>>
		<a href="#" class="dropdown-toggle">
			<i class="icon-text-width"></i>
			<span class="menu-text"> Dịch vụ </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/services/');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>
					Danh sách dịch vụ
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/services/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm dịch vụ
				</a>
				
			</li>
		</ul>
	</li>
	
	<li <?php if(curCA('controller') == 'prices' ||  curCA('controller') == 'prices') echo 'class="active"'?>>
		<a href="#" class="dropdown-toggle">
			<i class="icon-text-width"></i>
			<span class="menu-text"> Bảng giá </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/prices/');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>
					Danh sách
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/prices/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm
				</a>
				
			</li>
		</ul>
	</li>
	
	<li <?php if(curCA('controller') == 'website' ||  curCA('controller') == 'website') echo 'class="active"'?>>
		<a href="#" class="dropdown-toggle">
			<i class="icon-text-width"></i>
			<span class="menu-text"> Siêu thị Theme </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/categoriesWebsite/');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>
					Danh mục theme
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/categoriesWebsite/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm danh mục theme
				</a>
				
			</li>

			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/websites/');?>">
					<i class="icon-double-angle-right"></i>
					Danh sách theme
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/websites/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm theme
				</a>
				
			</li>
			

			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/websitePrice/');?>">
					<i class="icon-double-angle-right"></i>
					Danh sách theme theo gói
				</a>
			</li>
		</ul>
	</li>
	<li <?php if(curCA('controller') == 'project' && (curCA('action') == 'index' ||  curCA('action') == 'create'||  curCA('action') == 'update')) echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/project');?>">
			<i class="icon-file-alt"></i>
			<span class="menu-text"> Dự án </span>
		</a>
	</li>
	<li <?php if(curCA('controller') == 'customers' && (curCA('action') == 'index' ||  curCA('action') == 'create'||  curCA('action') == 'update')) echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/customers');?>">
			<i class="icon-file-alt"></i>
			<span class="menu-text"> Khách hàng </span>
		</a>
	</li>
	<li <?php if(curCA('controller') == 'member' && (curCA('action') == 'index' ||  curCA('action') == 'create'||  curCA('action') == 'update')) echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/member');?>">
			<i class="icon-file-alt"></i>
			<span class="menu-text"> Thành viên</span>
		</a>
	</li>
	<li <?php if(curCA('controller') == 'criteria' && (curCA('action') == 'index' ||  curCA('action') == 'create'||  curCA('action') == 'update')) echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/criteria');?>">
			<i class="icon-file-alt"></i>
			<span class="menu-text"> Tiêu chí</span>
		</a>
	</li>
	<li <?php if(curCA('controller') == 'contact' && (curCA('action') == 'index' ||  curCA('action') == 'create'||  curCA('action') == 'update')) echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/contact');?>">
			<i class="icon-file-alt"></i>
			<span class="menu-text"> Thư liên hệ </span>
		</a>
	</li>
	<li <?php if(curCA('controller') == 'categoriesNews' ||  curCA('controller') == 'news') echo 'class="active"'?>>
		<a href="#" class="dropdown-toggle">
			<i class="icon-text-width"></i>
			<span class="menu-text"> Quản lý gian hàng </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/categoriesTheme/');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>
					Danh sách lĩnh vực
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/themes/');?>">
					<i class="icon-double-angle-right"></i>
					Danh sách theme
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/shop/');?>">
					<i class="icon-double-angle-right"></i>
					Danh sách gian hàng
				</a>
			</li>
			
		</ul>
	</li>
	
</ul><!--/.nav-list-->

<div class="sidebar-collapse" id="sidebar-collapse">
	<i class="icon-double-angle-left"></i>
</div>
</div>
